<style>
<!--

-->
</style>
<div class="container">
	<h3>请选择预订乘客</h3>
	<div class="form" style="padding: 20px 0px;">
		<form class="form-horizontal">
			<div class="form-body">
				<div class="row" style="margin: 0px;">
					<div class="col-md-12" style="margin-bottom:20px;padding: 0px;border: 1px solid #ddd;" ng-repeat = "passenger in booking.passengers">
						<div style="height: 20px;">
				  	       <a class="glyphicon glyphicon-remove" style="float: right;padding: 0px 5px;font-size: 20px;color: #ccc;text-decoration: none;"
				  	       	 href="javascript:void(0);" 
				  	       	 ng-click="removePassenger(passenger,$index)"></a>
				  	    </div>
						<div class="form-group" style="margin: 15px;">
							<label class="col-md-1 control-label">姓名</label>
							<div class="col-md-3">
								<input type="text" class="form-control input-lg" ng-model="passenger.name" placeholder="请输入乘客姓名">
							</div>
		
							<label class="col-md-1 control-label">手机</label>
							<div class="col-md-3">
								<input type="text" class="form-control input-lg" ng-model="passenger.phone" placeholder="请输入手机号码">
							</div>
							<label class="col-md-1 control-label">上车站点</label>
							<div class="col-md-3">
								<select class="form-control input-lg" ng-model="passenger.onStopId" ng-options = "stop.stopId as stop.stopName for stop in booking.line.stops | filter:{stopType:'1'}">
								</select>
							</div>
						</div>
					</div>
					<a class="col-md-12 text-center" style="display:block;border: 1px solid #ddd;padding: 20px;margin-bottom:10px;font-size: 17px;"
						 href="javascript:void(0);"
						 ng-click="addPassenger();">
						<i class="fa fa-plus"></i>
					</a>
				</div>
			</div>
			<div class="form-actions">
				<div class="row">
					<div class="text-center">
						<button type="button" ng-click="bookingPreStep();" class="btn btn-circle blue">上一步</button>
						<button type="button" ng-click="bookingNextStep();" class="btn btn-circle blue">下一步</button>
					</div>
				</div>
				
			</div>
		</form>
	</div>
</div>